package com.webbei.friendcenter.service.impl;

import java.util.Date;
import java.util.List;

import com.webbei.friendcenter.dao.MyFriendCenterDao;
import com.webbei.friendcenter.service.MyFriendCenter;
import com.webbei.pojo.CommentCustomShow;
import com.webbei.pojo.Commission;
import com.webbei.pojo.Customcomment;
import com.webbei.pojo.Customer;
import com.webbei.pojo.Customs;
import com.webbei.pojo.Display;
import com.webbei.pojo.LoveCar;
import com.webbei.pojo.Messages;
import com.webbei.pojo.Orders;
import com.webbei.pojo.Userhot;


public class MyFriendCenterImple implements MyFriendCenter {

	private MyFriendCenterDao friend1;
	public MyFriendCenterDao getFriend1() {
		return friend1;
	}
	public void setFriend1(MyFriendCenterDao friend1) {
		this.friend1 = friend1;
	}
	public List getAllFriendsNameByOwnerName(String ownName) {
		//�����������Ϊͨ��ownName�ҵ�����û����еĺ���ִ�еĶ�̬����
		return friend1.getAllFriendsNameByOwnerName(ownName);
	}
	
	public int getMyFriendsCount(String string) {
		return friend1.getMyFriendsCount(string);
	}
	
	public Customer getCustomerByUserName(String uname) {
		return friend1.getCustomerByUserName(uname);
	}
	
	public Userhot getUserhotByUserName(String uname) {
		return friend1.getUserhotByUserName(uname);
	}
	public int getCustomerIDByUserName(String uname) {
		return friend1.getCustomerIDByUserName(uname);
	}
	public List<LoveCar> getLoveCarsbyUserID(int user_id) {
		return friend1.getLoveCarsbyUserID(user_id);
	}
	public List<Userhot> getAllFriendsByUserName(String uname) {
		return friend1.getAllFriendsByUserName(uname);
	}
	
	public List<Orders> getAllcustomsByUserName(String uname) {
		return friend1.getAllcustomsByUserName(uname);
	}
	
	public List<Customcomment> getAllCommentByUsername(String uname) {
		return friend1.getAllCommentByUsername(uname);
	}
	public int InsertNewComment(int customid, String string,
			String textContent, Date currentDate) {
		return friend1.InsertNewComment(customid, string, textContent, currentDate);
	}
	public List getAllFriendsChangeByOwnName(String string) {
		// TODO Auto-generated method stub
		return friend1.getAllFriendsChangeByOwnName(string);
	}
	public List<Display> getAllFriendsChangeShareByOwnName(String uname) {
		// TODO Auto-generated method stub
		return friend1.getAllFriendsChangeShareByOwnName(uname);
	}
	public int  insertMessageEachOther(Messages message) {
		return friend1.insertMessageEachOther(message);
	}
	public List<Messages> getALLMessagesByUserName(String uname) {
		// TODO Auto-generated method stub
		return friend1.getALLMessagesByUserName(uname);
	}
	public List<Orders> getAllcustomsShareByUserName(String uname) {
		// TODO Auto-generated method stub
		return friend1.getAllcustomsShareByUserName(uname);
	}
	public int addNewFriendByOwnUser(String ownUser, String addUser) {
		return friend1.addNewFriendByOwnUser(ownUser, addUser);
	}
	@Override
	public List<Customs> getCostMoneyMessageByUserName(String uname) {
		return friend1.getCostMoneyMessageByUserName(uname);
	}
	@Override
	public List<CommentCustomShow> getCommentCustomShow(String uname) {
		return friend1.getCommentCustomShow(uname);
	}
	@Override
	public int insertNewReport(String reportName, String beReportName,
			String reprotContent, Date reportTime, int customId) {
		 	return friend1.insertNewReport(reportName, beReportName, reprotContent, reportTime, customId);
		
	}
	@Override
	public int UnameIsSessionNameFriend(String sessionInName, String uname) {
			return friend1.UnameIsSessionNameFriend(sessionInName, uname);
	}
	@Override
	public int checkNameByUname(String uname) {
		// TODO Auto-generated method stub
		return friend1.checkNameByUname(uname);
	}
	@Override
	public List<Commission> getAllCommissionByUserName(String username) {
		// TODO Auto-generated method stub
		return friend1.getAllCommissionByUserName(username);
	}
	@Override
	public boolean IsExistTheUserName(String uname) {
		// TODO Auto-generated method stub
		return friend1.IsExistTheUserName(uname);
	}
	@Override
	public List<Customcomment> getALLCommentISShareByUsername(String uname) {
		// TODO Auto-generated method stub
		return  friend1.getALLCommentISShareByUsername(uname);
	}
	@Override
	public List<Orders> getAllMyPartInShareByUserName(String uname) {
		// TODO Auto-generated method stub
		return friend1.getAllMyPartInShareByUserName(uname);
	}
	@Override
	public List<Customcomment> getAllCommentPartInShareByUserName(String uname) {
		// TODO Auto-generated method stub
		return friend1.getAllCommentPartInShareByUserName(uname);
	}
	@Override
	public String getCustomUploadFileContentInCustoms(int customId) {
		// TODO Auto-generated method stub
		return friend1.getCustomUploadFileContentInCustoms(customId);
	}
	@Override
	public int CustomUploadFileUpdateByCustomId(int customId,
			String filesFileName) {
		return friend1.CustomUploadFileUpdateByCustomId(customId, filesFileName);
	}
	@Override
	public Customcomment getTheLastCommentByCustomId(int customId) {
		// TODO Auto-generated method stub
		return friend1.getTheLastCommentByCustomId(customId);
	}
	@Override
	public int getComemntCountByCustomId(int customId) {
		// TODO Auto-generated method stub
		return friend1.getComemntCountByCustomId(customId);
	}
	@Override
	public List<Userhot> getAllFriendsByUserNameOrderBycarBrind(String uname,
			String carBrind) {
		// TODO Auto-generated method stub
		return friend1.getAllFriendsByUserNameOrderBycarBrind(uname, carBrind);
	}
	

}
